Cleantalk\Common\Helper D

Total Complexity 248
Dependencies 2
Dependents 5
Total lines 1,091
Lines of code 583
Logical lines of code 344
Comment lines 330
Methods 33
Properties 4

Methods 33

Method Rating Maintainability Complexity Lines of code
ipGet()
D
15
106 200
ipMaskMatch()
B
41 18 54
arrayMergeSaveNumericKeysRecursive()
A
57 11 16
httpMultiRequest()
A
51 9 26
toUTF8()
A
54 9 20
httpGetHeaders()
A
49 8 29
dbPrepareParam()
S
54 7 21
ipV6Normalize()
S
55 7 16
fromUTF8()
S
59 7 13
dnsResolve()
S
58 6 15
arraysHasKeysDifferenceRecursive()
S
58 6 15
ipValidate()
S
61 6 12
removeNonUTF8()
S
60 5 13
getMimeType()
S
61 4 11
ipV6Reduce()
S
65 4 8
bufferCsvPopLineToArray()
S
63 3 10
bufferTrimAndClearFromEmptyLines()
S
64 3 10
cidrValidate()
S
72 3 4
ipResolve()
S
66 3 9
ipResolveCleantalks()
S
65 3 9
dateValidate()
S
64 3 9
isJson()
S
77 2 3
ipIsCleantalks()
S
68 2 7
bufferParseCsv()
S
66 2 8
arrayMergeSaveNumericKeys()
S
70 2 6
ipMaskLongToNumber()
S
73 2 4
ipIsPrivateNetwork()
S
78 1 3
timeGetIntervalStart()
S
77 1 3
httpRequest()
S
68 1 8
bufferCsvPopLine()
S
69 1 6
bufferCsvGetMap()
S
75 1 4
ipLong2ip()
S
67 1 7
getFilenameFromUrl()
S
75 1 4